import {createRouter, createWebHashHistory} from 'vue-router'
import HomeView from '@/views/HomeView.vue'
import SearchView from '@/views/SearchView.vue'

const routes = [
  {path: '/home', component: HomeView},
  {path: '/search', component: SearchView}
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router